[Feature](nereids) support encrypt sql for audit log#47595
Merged
morrySnow merged 12 commits intoapache:masterfrom Feb 19, 2025
Merged
[Feature](nereids) support encrypt sql for audit log#47595morrySnow merged 12 commits intoapache:masterfrom
morrySnow merged 12 commits intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
morrySnow
reviewed
Feb 11, 2025
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
Outdated
Show resolved
Hide resolved
Contributor
|
CreateTableCommand need to be encrypted in some case, and please check if CreateSqlBlockRuleCommand or other command is needed too |
Contributor
Author
SQL of |
|
run buildall |
starocean999
previously approved these changes
Feb 14, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
morrySnow
previously approved these changes
Feb 14, 2025
TPC-H: Total hot run time: 31492 ms |
TPC-DS: Total hot run time: 189899 ms |
ClickBench: Total hot run time: 30.17 s |
|
run buildall |
TPC-H: Total hot run time: 31617 ms |
TPC-DS: Total hot run time: 189210 ms |
ClickBench: Total hot run time: 30.18 s |
|
run buildall |
TPC-H: Total hot run time: 31623 ms |
TPC-DS: Total hot run time: 190852 ms |
ClickBench: Total hot run time: 30.16 s |
morrySnow
approved these changes
Feb 19, 2025
starocean999
approved these changes
Feb 19, 2025
lzyy2024
pushed a commit
to lzyy2024/doris
that referenced
this pull request
Feb 21, 2025
### What problem does this PR solve? The new optimizer does not support the encryption of sql sensitive information well, so it implements a general encryption framework Co-authored-by: garenshi <garenshi@tencent.com>
16 tasks
koarz
pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
### What problem does this PR solve? The new optimizer does not support the encryption of sql sensitive information well, so it implements a general encryption framework Co-authored-by: garenshi <garenshi@tencent.com>
16 tasks
morningman
pushed a commit
that referenced
this pull request
Oct 30, 2025
…48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: #47595 Problem Summary: For PR #47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
github-actions bot
pushed a commit
that referenced
this pull request
Oct 30, 2025
…48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: #47595 Problem Summary: For PR #47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
dwdwqfwe
pushed a commit
to dwdwqfwe/doris
that referenced
this pull request
Oct 31, 2025
…pache#48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: apache#47595 Problem Summary: For PR apache#47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
yiguolei
pushed a commit
that referenced
this pull request
Nov 5, 2025
…48527) ### What problem does this PR solve? Issue Number: close #xxx Related PR: #47595 Problem Summary: For PR #47595 , set `stmt` to `error messsage` of `org.apache.doris.qe.QueryState.ErrType#ANALYSIS_ERR` of query audit, so many of the original SQL will be abandoned, this is very unreasonable, It is now more appropriate to set stmt to error message only for queries that are syntax parsed incorrectly Now only sql with syntax errors is ignored Co-authored-by: garenshi <garenshi@tencent.com>
starocean999
added a commit
to starocean999/incubator-doris
that referenced
this pull request
Nov 28, 2025
morrySnow
pushed a commit
that referenced
this pull request
Dec 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #xxx
The new optimizer does not support the encryption of sql sensitive information well, so it implements a general encryption framework
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)